package com.edu.bean;

import java.util.List;

public class Depart {
    private int departId;
    private String departName;
    private String phoneNum;
    private List<Emp> listEmp;

    public List<Emp> getListEmp() {
        return listEmp;
    }

    public void setListEmp(List<Emp> listEmp) {
        this.listEmp = listEmp;
    }

    public int getDepartId() {
        return departId;
    }

    public void setDepartId(int departId) {
        this.departId = departId;
    }

    public String getDepartName() {
        return departName;
    }

    public void setDepartName(String departName) {
        this.departName = departName;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public Depart() {
    }

    public Depart(String departName, String phoneNum) {
        this.departName = departName;
        this.phoneNum = phoneNum;
    }

    @Override
    public String toString() {
        return "Depart{" +
                "departId=" + departId +
                ", departName='" + departName + '\'' +
                ", phoneNum=" + phoneNum +
                '}';
    }
}
